package cn.itcast.dao;

import cn.itcast.domain.Account;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface AccountDao {

    @Update("update account set money=money+#{money_} where id=#{id_}")
    int updateMoneyById(@Param("id_") Integer id, @Param("money_") Double money);
}